package  com.mdp.im.core.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.IdType;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import com.mdp.core.dao.annotation.TableIds;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

/**
 * @author 唛盟开源 code-gen
 * @since 2024-8-13
 */
@Data
@TableName("im_group_user")
@Schema(description="群用户")
public class ImGroupUser  implements java.io.Serializable {
	
	private static final long serialVersionUID = 1L;
	@TableId(type = IdType.ASSIGN_ID)
	
	@Schema(description="主键,主键")
	String id;

	
	@Schema(description="组编号")
	String groupId;

	
	@Schema(description="用户编号")
	String userid;

	
	@Schema(description="用户名称")
	String username;

	
	@Schema(description="加入时间")
	Date joinTime;

	
	@Schema(description="级别0新人2达人3专家4骨灰")
	String lvl;

	
	@Schema(description="状态0邀请中1正常2锁定3拒绝加入4无效")
	String status;

	
	@Schema(description="下次允许发言时间")
	Date allowSpeechTime;

	
	@Schema(description="头像地址")
	String headimgurl;

	
	@Schema(description="邀请时间")
	Date inviteTime;

	/**
	 *主键
	 **/
	public ImGroupUser(String id) {
		this.id = id;
	}
    
    /**
     * 群用户
     **/
	public ImGroupUser() {
	}

}